package com.easygo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_item_cat")
public class ItemCat implements Serializable {
  private static final long serialVersionUID = 1L;

  @TableId(value = "id",type = IdType.AUTO)
  private Long id;

  @TableField("parent_id")
  private Long parentId;
  @TableField("name")
  private String name;
  @TableField("type_id")
  private Long typeId;
  @TableField("del")
  private Long del=0L;

}
